package com.shopping.bean;

import java.math.BigDecimal;

public class Product {
    private int productid;
    private String productname;
    private String productcategory;
    private BigDecimal price;
    private BigDecimal oldprice;
    private String description;
    private int stock;
    private String imgurl;
  private String state;
    private int isdel;
    private String productcategory2;
    private int sales;

    @Override
    public String toString() {
        return "Product{" +
                "productid=" + productid +
                ", productname='" + productname + '\'' +
                ", productcategory='" + productcategory + '\'' +
                ", price=" + price +
                ", oldprice=" + oldprice +
                ", description='" + description + '\'' +
                ", stock=" + stock +
                ", imgurl='" + imgurl + '\'' +
                ", state=" + state +
                ", isdel=" + isdel +
                ", productcategory2='" + productcategory2 + '\'' +
                '}';
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public String getProductcategory2() {
        return productcategory2;
    }

    public void setProductcategory2(String productcategory2) {
        this.productcategory2 = productcategory2;
    }


    public String getProductcategory() {
        return productcategory;
    }

    public void setProductcategory(String productcategory) {
        this.productcategory = productcategory;
    }

    public BigDecimal getOldprice() {
        return oldprice;
    }

    public void setOldprice(BigDecimal oldprice) {
        this.oldprice = oldprice;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }


    public int getIsdel() {
        return isdel;
    }

    public void setIsdel(int isdel) {
        this.isdel = isdel;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }
}
